﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp4
{
    class Class1
    {
        string myname;
        string name;
        string jiehsao;
        int atk;
        int fang;
        int sudu;
        public string Myname
        {
            get { return this.myname; }
            set { this.myname = value; }
        }
        public string Name
        {
            get { return this.name; }
            set { this.name = value; }
        }
        public string Jianjie
        {
            get { return this.jiehsao; }
            set { this.jiehsao = value; }
        }
        public int ATK
        {
            get { return this.atk; }
            set { this.atk = value; }
        }
        public int Fang
        {
            get { return this.fang; }
            set { this.fang = value; }
        }
        public int Sudu
        {
            get { return this.sudu; }
            set { this.sudu = value; }
        }
        public void dayin()
        {
            Console.WriteLine(this.myname + " " + this.name + " " + this.Jianjie + " " + "攻击:" + this.atk + " " + "防御:" + this.fang+ " " + "速度:" + this.sudu);
        }
    }
}
